package edu.hwadee.entity;

/**
 * Goodsbuy entity. @author MyEclipse Persistence Tools
 */

public class Goodsbuy implements java.io.Serializable {

	// Fields

	private Integer goodsBuyId;
	private Goods goods;
	private Goodssupplier goodssupplier;
	private Float quanity;
	private Float price;
	private Float actualCost;

	// Constructors

	/** default constructor */
	public Goodsbuy() {
	}

	/** full constructor */
	public Goodsbuy(Goods goods, Goodssupplier goodssupplier, Float quanity, Float price, Float actualCost) {
		this.goods = goods;
		this.goodssupplier = goodssupplier;
		this.quanity = quanity;
		this.price = price;
		this.actualCost = actualCost;
	}

	// Property accessors

	public Integer getGoodsBuyId() {
		return this.goodsBuyId;
	}

	public void setGoodsBuyId(Integer goodsBuyId) {
		this.goodsBuyId = goodsBuyId;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Goodssupplier getGoodssupplier() {
		return this.goodssupplier;
	}

	public void setGoodssupplier(Goodssupplier goodssupplier) {
		this.goodssupplier = goodssupplier;
	}

	public Float getQuanity() {
		return this.quanity;
	}

	public void setQuanity(Float quanity) {
		this.quanity = quanity;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getActualCost() {
		return this.actualCost;
	}

	public void setActualCost(Float actualCost) {
		this.actualCost = actualCost;
	}

}